$(cerrarSession);

function cerrarSession(){
	window.setTimeout("redireccionar()", 1000);
}

function redireccionar(){
	location.href = "logout.pub";
}